package net.jeeshop.services.front.bbs.impl;

import net.jeeshop.core.ServersManager;
import net.jeeshop.services.front.bbs.BbsImgService;
import net.jeeshop.services.front.bbs.bean.BbsImg;
import net.jeeshop.services.front.bbs.dao.BbsImgDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * Created by zuohao on 16/7/7.
 */
@Service("bbsImgServiceFront")
public class BbsImgServiceImpl extends ServersManager<BbsImg,BbsImgDao> implements BbsImgService {

    @Resource(name="bbsImgDaoFront")
    @Override
    public void setDao(BbsImgDao bbsImgDao) {
        this.dao=bbsImgDao;
    }

    @Override
    public List<BbsImg> selectBbsImgByBbsDetailId(Map map) {
        return dao.selectBbsImgByBbsDetailId(map);
    }
}
